{// 引入标签库 }
<tagLib name="fanwe" />
<include file="Public:header" />
<load href="__TMPL__ThemeFiles/Js/jquery.js" />
<load href="__TMPL__ThemeFiles/Js/tabs.js" />
<load href="__TMPL__ThemeFiles/Js/site.js" />
<load href="__TMPL__ThemeFiles/Js/iColorPicker.js" />
<div id="main" class="main">
<div class="content">
<div class="title">{$Think.lang.ADD_DATA} [ <a href="{:u($module_name.'/index')}">{$Think.lang.BACK_LIST}</a> ]</div>
<div id="result" class="result none"></div>
<form method='post' id="form" name="form" action="{:u($module_name.'/insert')}" enctype="multipart/form-data">
<ul class="conf_btns">
	<li>{$Think.lang.ADD_FRIEND_LINK}</li>
</ul>
<div class="conf_tabs">
<table cellpadding=0 cellspacing=0 class="conf_table dataEdit" >
	<tr>
		<td class="tRight" width="120">{$Think.lang.FRIEND_NAME}：</td>
		<td class="tLeft">
        	<input type="text" name="name" id="name" class="bLeftRequire iColorPicker" rel="name_color" />            
        </td>
	</tr>
	<tr>
		<td class="tRight" width="120">{$Think.lang.FRIEND_URL}：</td>
		<td class="tLeft"><fanwe:textbox name="url" class="bLeftRequire" /></td>
	</tr>
	<tr>
		<td class="tRight">{$Think.lang.SORT}：</td>
		<td class="tLeft"><input type="text" value="{$new_sort}" name="sort" /></td>
	</tr>
    <tr>
		<td class="tRight">网站截图：</td>
		<td class="tLeft"><input type="file" name="img" /></td>
	</tr>
     <tr style="display:none;">
		<td class="tRight">{$Think.lang.FRIEND_WIDTH}：</td>
		<td class="tLeft"><input type="text" name="width" /></td>
	</tr>
     <tr>
		<td class="tRight">{$Think.lang.FRIEND_HEIGHT}：</td>
		<td class="tLeft"><input type="text" name="height" value="31" /></td>
	</tr>
	
</table>


<div style="padding:20px 0 0 130px;">
<input type="hidden" value="1" name="status" />
	<input type="submit" value="{$Think.lang.SAVE_DATA}" class="button small">
	<input type="reset" class="button small" onclick="resetEditor()" value="{$Think.lang.RESET_DATA}">
</div>
</div>
</form>
</div>
</div>
